<?php if(isset($_SESSION['user'])){?>
<?php $header=$this->action('Application\Controller\IndexController', 'headerAction',array('20','10'));
	  $baseUrl = $header->headerarray['baseUrl'];
	  $basePath = $header->headerarray['basePath'];
?>
<div class="container" style="min-height:410px;">
<? if(isset($this->sent_notification_messages) && $this->sent_notification_messages->count()>0){?>
	<? foreach($this->sent_notification_messages as $notifications){?>
	<div class="well notifications_pad">
			<div>
				<h4><? echo $notifications->offer_name;?> Offer</h4>
				<p><? echo $notifications->offer_name;?>! to  Rupee Offer.&nbsp;
				 <? echo $notifications->offer_amount;?> to get Discount Percentage <? echo $notifications->percent_discount;?> &nbsp;&nbsp;is Start From <? echo $notifications->starting_date;?> to <? echo $notifications->ending_date;?></p>
			</div>
	</div>	
	<?}?>
	<? if(isset($_GET['re-back']) && $_GET['re-back']=='back'){?>
		<a style=" margin-left: 60%;" href='<? echo $baseUrl;?>users/confirm-order'>Go back</a>
	<?}?>
<?}?>
<?php }else{?>
<script>
	window.location=BASE_URL;
</script>
<?php } ?>
</div>
	